<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8"/>
<title>表中所有用户的记录</title>
</head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<body>
     <table>
     <tr><td>用户ID</td><td>用户名</td></tr>
     <tr th:each="goodsInfo,status:${list}" >
     <td><a th:href="@{init5(userId=${goodsInfo.userId})}"><span th:text="${goodsInfo.userId}">12</span></a></td>
     <td><span th:text="${goodsInfo.userName}">12</span></td>
     </tr>
     </table>
</body>
</html>